// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 新增 关键词  POST */
export async function saveMark(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/datahub/mark/save', {
    method: 'POST',
    data: options || {},
  });
}
/** 修改 关键词  POST */
export async function updateMark(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/datahub/mark/update', {
    method: 'POST',
    data: options || {},
  });
}
/** 删除 关键词  POST */
export async function deleteMark(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/datahub/mark/delete', {
    method: 'POST',
    data: options || {},
  });
}

/**  关键词  POST */
export async function pageMark(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<DatahubMarkData.MarkPage[]>>('/datahub/mark/page', {
    method: 'POST',
    data: options || {},
  });
}
